package com.movie.demo.service;

import com.baomidou.mybatisplus.service.IService;
import com.movie.demo.pojo.Seat;
import com.movie.demo.pojo.vo.SeatInfo;

import java.util.List;

public interface SeatService extends IService<Seat> {
    List<Seat> selectSeat(int mid,int rid, int sid,int cid);

    boolean addSeat(Seat seat);

    List<Seat> allSeat();

    boolean updateSeatState(int id,int flag);

    boolean DeleteSeat(int id);

    List<SeatInfo> selectSeatInfo();

    boolean selectSeatInfoOne(int mid, int session_id, int room_id, int cinema_id, String seat, int uid);
}
